package cn.iocoder.yudao.module.brokerage.merchant.convert;

import cn.iocoder.yudao.module.brokerage.merchant.pojo.po.AgencyBrokerageRecordDO;
import cn.iocoder.yudao.module.brokerage.merchant.pojo.vo.AdminBrokerageMerchantRecordVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  这里是文件说明
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/03/10
 */
@Mapper
public interface BrokerageMerchantRecordConvert {

    BrokerageMerchantRecordConvert INSTANCE = Mappers.getMapper(BrokerageMerchantRecordConvert.class);

    @Mapping(target = "sourceUser", ignore = true)
    @Mapping(target = "sourceShop", ignore = true)
    @Mapping(target = "user", ignore = true)
    AdminBrokerageMerchantRecordVO convert(AgencyBrokerageRecordDO bean);

}
